package com.mao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mao.entity.Employee;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService extends IService<Employee> {
    Employee login(HttpServletRequest request, Employee employee);

    String save(HttpServletRequest request, Employee employee);

    Page<Employee> page(int page,int pageSize,String name);

    String updateEmployee(HttpServletRequest request,Employee employee);
}
